<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>激活或禁止隔行扫描</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.imagegrabwindow.html">imagegrabwindow</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.imageistruecolor.html">imageistruecolor</a></div>
 <div class="up"><a href="ref.image.html">GD and Image 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.imageinterlace" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">imageinterlace</h1>
    <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">imageinterlace</span> &mdash; <span class="dc-title">激活或禁止隔行扫描</span></p>

   </div>
   <div class="refsect1 unknown-seealsp" id="refsect1-function.imageinterlace-unknown-seealsp">
    <h3 class="title">说明</h3>
    <div class="methodsynopsis dc-description">
     <span class="type">int</span> <span class="methodname"><strong>imageinterlace</strong></span>
      ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$image</code></span>
     [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$interlace</code></span>
    ] )</div>

    <p class="para rdfs-comment">
     <span class="function"><strong>imageinterlace()</strong></span> 打开或关闭隔行扫描的比特标记。如果
     <em><code class="parameter">interlace</code></em> 为 1 则图像为隔行扫描的，如果
     <em><code class="parameter">interlace</code></em> 为 0 则图像为非隔行扫描的。
    </p>
    <p class="para">
     如果设定了隔行扫描比特标记而图像使用 JPEG 格式，则图像被创建为渐进式 JPEG。
    </p>
    <p class="para">
     本函数返回图像中是否设定了隔行扫描比特标记。
    </p>
   </div>

  </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.imagegrabwindow.html">imagegrabwindow</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.imageistruecolor.html">imageistruecolor</a></div>
 <div class="up"><a href="ref.image.html">GD and Image 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
